From 0ac3c6cbd53937d065bd68353da0b0a8da2ab837 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Sun, 30 Oct 2005 17:17:21 +0100 Subject: [PATCH] Move misplaced netif_free declaration. Signed-off-by: Ewan Mellor --- linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c index b203d55c3b..b7cfb56a74 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c @@ -91,8 +91,6 @@ static void network_tx_buf_gc(struct net_device *dev); static void network_alloc_rx_buffers(struct net_device *dev); -static void netif_free(struct netfront_info *info); - static unsigned long rx_pfn_array[NETIF_RX_RING_SIZE]; static multicall_entry_t rx_mcl[NETIF_RX_RING_SIZE+1]; static mmu_update_t rx_mmu[NETIF_RX_RING_SIZE]; @@ -192,6 +190,8 @@ static char *be_state_name[] = { #define WPRINTK(fmt, args...) \ printk(KERN_WARNING "xen_net: " fmt, ##args) +static void netif_free(struct netfront_info *info); + /** Send a packet on a net device to encourage switches to learn the * MAC. We send a fake ARP request. * -- 2.30.2